<?php

class Zend_View_Helper_Makeurl{
	
	public function makeurl($url=''){
		
		if($url!=''){
		
			$url=str_replace(array(MY_URL,'/','?','#','.','&'),array('','','','','',''),$url);
			
		}else{
			
			$url=str_replace(array(ROOT_PATH,'/','?','#','.','&'),array('','','','','',''),CURRENT_URL);
			
		}
		
		if($url==''){
			
			$url='indexUrl';
			
		}
		
		return $url;
		
	}

}

